<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html><!-- InstanceBegin template="/Templates/empresa.dwt" codeOutsideHTMLIsLocked="false" -->

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<meta name="description" content="description"/>
<meta name="keywords" content="keywords"/> 
<meta name="author" content="author"/> 
<link rel="stylesheet" type="text/css" href="default.css" media="screen"/>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Prueba1CSS</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body>

<div class="container">
<div class="top">
		<a href="index.html"><span>DPWD</span></a>
	</div>
	
	<div class="header"></div>
    <div class="navigation">

		<h1>Opciones</h1>
		<ul>
			<li><a href="registraemp.php">Registro Empleados</a></li>
			<li><a href="buscaemp.php">B&uacute;squeda</a></li>
			<li><a href="listaremp.php">Listado</a></li>
            <li><a href="exportar.php">Exportar PDF/EXCEL</a></li>
	  </ul>		

	</div>
	<div class="main">

		<div class="item">
<!--
			<div class="date">
				<div>OCT</div>
				<span>01</span>
			</div> -->

			<div class="content">

				<h1> DPWD</h1>

				<div class="body"><!-- InstanceBeginEditable name="centro" -->
<div align="center" class="Estilo1">Localizar empleado:</div>
<form id="form1" name="form1" method="post" action="listaremp.php">

<table width="0%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>Nombre:</td>
    <td>&nbsp;</td>
    <td><label>
      <input type="text" name="nombrebusca" id="nombrebusca" />
    </label></td>
  </tr>
  <tr>
    <td>Departamento:</td>
    <td>&nbsp;</td>
    <td><select name="deptobusca">
      <?php
					include "conectame.php";
					$deptos =  "SELECT * FROM Departamento";
					$id_deptos = mysql_query($deptos);
					echo "<option value='0'>Selecciona una opción</option>";
					while($regdeptos = mysql_fetch_array($id_deptos))
					{ 
							echo "<option value = '".$regdeptos["id_depto"]."'>".$regdeptos["nombredepto"]."</option>";
				    
					}
				?>
    </select></td>
  </tr>
  <tr>
    <td colspan="3"><label>
      <div align="center">
        <input type="submit" name="button" id="button" value="Buscar" />
        </div>
    </label></td>
    </tr>
</table>
</form>
<p>&nbsp;</p>
<!-- InstanceEndEditable --></div>

		  </div>

		</div>
		

	</div>
    
</div>

</body>

<!-- InstanceEnd --></html>